﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;
namespace BLL
{
   public class UserTypeBLL
    {
        UserTypeDAL dal = new UserTypeDAL();
        /// <summary>
        /// 登陆Bll
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public bool LoginUser(UserType type)
        {
            return dal.LoginUser(type);
        }
        public bool Add(UserType type)
        {
            return dal.Add(type);
        }
        public bool Add1(UserType type)
        {
            return dal.Add1(type);
        }
    }
}
